package com.kj.tms.common.utils.JDBCUtil;

/**
 * Created by LiaoJS on 2016/5/16.
 */

/**
 * 查询语句输入的值和类型
 * @author LiaoJS
 *
 */
public class InputInfo {

    /** * 字段的值  */
    private String value ;
    /** * 字段类型 */
    private int type ;

    /**
     * 执行SQL语句时传入ArrayList的对象
     * @param value 字段类型 注意目前类型只支持: Types.VARCHAR / Types.DATE / Types.TIMESTAMP / Types.INTEGER
     * @param type
     */
    public InputInfo(String value, int type) {
        super();
        this.value = value;
        this.type = type;
    }

    public int getType() {
        return type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }

}